package com.exam.bean;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 *试卷类型实体 2012-12-27
 * 
 * @author MuLing
 * 
 */
@Entity
@Table(name = "tb_paper_Source_Type")
public class PaperSourceType implements Serializable {

	private static final long serialVersionUID = 1L;
	@Id
	@GeneratedValue(strategy = GenerationType.AUTO)
	// 指定为主键
	private Integer id;

	@Column(name = "pst_name", length = 30, unique = true)
	// 类型名称
	private String name;

	@Column(name = "pst_remark")
	// 类型备注
	private String remark;

	/**
	 * @param id
	 *            the id to set
	 */
	public void setId(Integer id) {
		this.id = id;
	}

	/**
	 * @return the id
	 */
	public Integer getId() {
		return id;
	}

	/**
	 * @param name
	 *            the name to set
	 */
	public void setName(String name) {
		this.name = name;
	}

	/**
	 * @return the name
	 */
	public String getName() {
		return name;
	}

	/**
	 * @param remark
	 *            the remark to set
	 */
	public void setRemark(String remark) {
		this.remark = remark;
	}

	/**
	 * @return the remark
	 */
	public String getRemark() {
		return remark;
	}
}
